package com.moon.interface_api.utils;

import java.io.*;

public class ReadUtils {
    
    public static OutputStream read(InputStream in,OutputStream out) throws IOException {
        byte[] buffer = new byte[1024];
        int len = -1;
        while (in.read(buffer) != -1) {
            out.write(buffer);
        }
        return out;
    }

    
}
